#include "include.h"
#include "base\entitymanager.h"

#include "compile/debug_memoryleaks"
using namespace base;

EntityManager::EntityManager()
{
    //ctor
}

EntityManager::~EntityManager()
{
    //dtor
}

int EntityManager::addEntity(Entity* pentity)
{
	return 0;
}

std::list<Entity*> EntityManager::getEnabledEntities()
{
	return this->enabledEntities;
}


int EntityManager::updateAll()
{
	for (std::list<base::Entity*>::const_iterator it = enabledEntities.begin(); it!=enabledEntities.end(); it++)
	{
		base::Entity* pentity = *it;
		if (pentity)
		{



		}

	}

	return 0;
}

